<!DOCTYPE html>
<html>
<head>
  <meta charset="<?php echo $cfg_soft_lang; ?>">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <title>安装支付接口</title>
  <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  <link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<style>
  .npvar {
    width: 90%
  }
</style>
<body>
  <center>
    <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
      <tr>
        <td height="26" background="../static/web/img/tbg.gif"><a href="sys_payment.php">支付接口列表</a> &gt; 接口设置</td>
      </tr>
      <tr>
        <td height="200">
          <table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
            <form action="sys_payment.php" method="post" enctype="multipart/form-data" name="form1">
              <input type='hidden' name='pid' value='<?php echo $row['id']; ?>'>
              <input type='hidden' name='pm' value='<?php echo $pm; ?>'>
              <input type='hidden' name='dopost' value='config'>
              <tr>
                <td height="26" align="center">支付名称：</td>
                <td width="85%"><input name="pay_name" type="text" class='iptxt' id="pay_name" value="<?php echo $row['name']; ?>" size="30"></td>
              </tr>
              <tr>
                <td width="15%" height="108" align="center">支付描述：</td>
                <td><textarea name="pay_desc" cols="75" id="pay_desc" style="height:100px"><?php echo $row['description']; ?></textarea></td>
              </tr>
              <?php echo $reval ?>
              <tr>
                <td height="26" align="center">手续费：</td>
                <td><input name="pay_fee" type="text" class='iptxt' id="pay_fee" size="10" value="<?php echo $row['fee']; ?>"> 元</td>
              </tr>
              <tr>
                <td height="26" align="center">货到付款：</td>
                <td><?php echo ($row['cod']==0)? '否':'是'; ?></td>
              </tr>
              <tr>
                <td height="26" align="center">在线支付：</td>
                <td><?php echo ($row['online']==0)? '否':'是'; ?></td>
              </tr>
              <tr>
                <td colspan="2" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td>
              </tr>
            </form>
          </table>
        </td>
      </tr>
    </table>
  </center>
</body>
</html>